package com.hejia.alauda.entity;

import java.math.BigDecimal;

import javax.persistence.Column;

public class BonusOrder extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 119455495495158508L;
	
	@Column
	private Order order;//哪一笔订单把红包激活
	
	@Column
	private BonusRecord bonusRecord; //对应红包记录的id
	
	@Column
	private BigDecimal amount; //红包金额金额
	
	@Column
	private Boolean repaid; //是否随还款给打到用户的借记卡里去 默认为FALSE
	
	@Column
	private Boolean inPay; // 支付进行中

	@Column
	private RepaymentOrder repayOrder;//还款订单
	
	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public BonusRecord getBonusRecord() {
		return bonusRecord;
	}

	public void setBonusRecord(BonusRecord bonusRecord) {
		this.bonusRecord = bonusRecord;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Boolean getRepaid() {
		return repaid;
	}

	public void setRepaid(Boolean repaid) {
		this.repaid = repaid;
	}

	public Boolean getInPay() {
		return inPay;
	}

	public void setInPay(Boolean inPay) {
		this.inPay = inPay;
	}

	public RepaymentOrder getRepayOrder() {
		return repayOrder;
	}

	public void setRepayOrder(RepaymentOrder repayOrder) {
		this.repayOrder = repayOrder;
	}
}
